let rs =require('readline-sync')
let str_num =rs.question()
  let num = parseInt(str_num)
  let c = 5 * (num-32)/9
  let result = Math.floor(c)
  console.log(`Celsius = ${result}`);